<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>取得学生信息</title>
</head>
<body>
    <form action="zxc.php" method="post" enctype="multipart/form-data">
        <h2>学生信息:</h2>
        <input type="text" name="user['寝室号']" placeholder="请输入寝室号" required><br>
        <input type="text" name="user['姓名']" placeholder="请输入姓名" required><br>
        <input type="text" name="user['学号']" placeholder="请输入学号" required><br>
        <input type="tel" name="user['电话']" placeholder="请输入电话" required><br>
        性别：
        <input type="radio" name="user['性别']" value="男" checked>男
        <input type="radio" name="user['性别']" value="女">女<br>
        籍贯：
        <input type="text" name="user['籍贯']" value="重庆市涪陵区"><br>
        出生时刻：
        <input type="datetime-local" name="user['出生时刻']" ><br>
        爱好：
        <input type="checkbox" name="user['爱好'][]" value="运动">运动
        <input type="checkbox" name="user['爱好'][]" value="读书">读书
        <input type="checkbox" name="user['爱好'][]" value="唱歌、跳舞">唱歌、跳舞
        <input type="checkbox" name="user['爱好'][]" value="游戏">游戏<br>
        帅照：
        <input type="file" name="pic"><br>
        <input type="submit" value="提交">
        <input type="reset" value="重置">
    </form>
</body>
</html>